<template>
  <div id="app">
    <!-- <img v-bind:src="imgUrl" alt="msg" /> -->
    <!-- 简写 -->
    <img :src="imgUrl" alt="msg" />
    <a :href="link">跳转</a>
  </div>
</template>

<script setup lang="ts">
const imgUrl = 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png'
const msg = '百度一下'
const link = 'http://www.jd.com'
</script>

<style></style>
